<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Cache-Control" content="no-Cache" />
	<meta name="MobileOptimized" content="320"/>
	<!--<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0">-->
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1;"/>
	<title>贵阳旅游掌上评</title>
	<%@include file="../css.jsp" %>
	<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
	<link href="js/jquery_pager/Pager.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
//有奖投票
function votePhone(voteItemId){
	var phone=$("#phone").val();
	if(phone==""||phone==null){
		$("#div_result").html("<font color='red'>手机号为空，不能投票</font>");
		return;
	}
	$.get("votePhone.htm?voteItemId="+voteItemId+"&phone="+phone+"&app=01",function(result){
		if(result=="success"){
			$("#div_result").html("<font color='red'>投票成功</font>");
		}else if(result=="lot"){
			$("#div_result").html("<font color='red'>该号码投票次数过多</font>");
		}else{
			$("#div_result").html("<font color='red'>你已经投过票</font>");
		}
	});
}

</script>
</head>
<body>
<%@include file="../top.jsp"%>
		<div id="mainmenu" class="crumbs">
			<span>
				<%@include file="../menu.jsp"%>
				&gt; <a href="pVote.htm">投票</a>
				&gt; <a href="pItem.htm?voteId=${voteId }">${vote.title }</a>
				&gt; <a>${voteItem.title }</a>
			</span>
		</div>
		<div class="vote_item_detail_div">
			<div class="hot_detail_img"><img src="${voteItem.picUrl }" width="280" /></div>
			<div class="vote_item_detail_desc">简介:<span class="vote_item_detail_span">${voteItem.desc }</span></div>
			<div class="vote_item_detail_phone">您的手机号码：<input type="text" id="phone" value="${mobilephone}" readonly=true /></div>
			<div id="btnVoteDetail" class="vote_item_detail_button" onclick="votePhone('${voteItem.identifier}');" >有 奖 投 票</div>
			<div align="center" id="div_result" style="margin: auto auto;"></div>
		</div>
		<div style="clear: both;"></div>
	
	<%@include file="../footer.jsp"%>
	<div id="footer">
		    <div align="left">
		    	<%@include file="../menu.jsp"%>
		    	&gt; <a href="pVote.htm">投票</a>
				&gt; <a href="pItem.htm?voteId=${voteId }">${vote.title }</a>
				&gt; <a>${voteItem.title }</a>
			</div>
		    <div><!--<a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Recommend">推荐</a> |--> <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Option">留言</a> | <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Help">帮助</a> | <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Help&op=Bookmark">存书签</a> | <a href="http://fcity.tdgz.com.cn:9004/">客户端下载</a><br />贵州无线城市[黔B2-20010020-5]
			</div>
	</div>
</body>
</html>